﻿<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="DisplayReviewComments.aspx.cs" Inherits="CodeDemon.Views.Review.DisplayReviewComments" %>

<% var Comments = from ReviewComment in ViewData.Model.DAO.GetReviewCommentsByReviewId(ViewData.Model.CurrentReviewID) select ReviewComment; %>

<% foreach( var c in Comments) {
       
        %>
        
        <div class="reviewComment sev<%= c.SeverityName %>">
            <span class="commentDetails"><%= c.ReviewUserEmail %> on <%= c.CommentTimestamp %>&nbsp;&nbsp;<img src="/CodeDemon/Content/P<%= c.Priority %>.gif" alt="Priority <%= c.Priority %>" />&nbsp;&nbsp;SEV:<%= c.SeverityName %></span>
            <div class='commentText'><%=c.CommentText %></div>
        </div>
        
        <%} %>